﻿CREATE TABLE [dbo].[AngajamentLegal] (
    [IDAL]       INT             IDENTITY (1, 1) NOT NULL,
    [Numar]      VARCHAR (20)    NOT NULL,
    [Data]       DATETIME        DEFAULT (getdate()) NOT NULL,
    [CodUnitate] SMALLINT        NOT NULL,
    [SumaTotala] DECIMAL (18, 2) DEFAULT ((0)) NOT NULL,
    [IDAB]       INT             NULL,
    [Documente]  VARCHAR (250)   DEFAULT ('') NOT NULL,
    [IDContract] INT             DEFAULT ((0)) NULL,
    CONSTRAINT [PK_AngajamentLegal] PRIMARY KEY CLUSTERED ([IDAL] ASC)
);

